<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>embedme: libemb::Array&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>libemb</b></li><li class="navelem"><a class="el" href="classlibemb_1_1_array.html">Array</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classlibemb_1_1_array-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">libemb::Array&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>数组基类  
 <a href="classlibemb_1_1_array.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_base_type_8h_source.html">BaseType.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a18f384c9980122a222a8834ec4549edf"><td class="memItemLeft" align="right" valign="top"><a id="a18f384c9980122a222a8834ec4549edf"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>type</b> ()</td></tr>
<tr class="separator:a18f384c9980122a222a8834ec4549edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74fae8b9ae6e46275b04c337765638f8"><td class="memItemLeft" align="right" valign="top"><a id="a74fae8b9ae6e46275b04c337765638f8"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> ()</td></tr>
<tr class="separator:a74fae8b9ae6e46275b04c337765638f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3eae29a65713e9d7aafe9a40476411e"><td class="memItemLeft" align="right" valign="top"><a id="ac3eae29a65713e9d7aafe9a40476411e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:ac3eae29a65713e9d7aafe9a40476411e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e6801ad851932d7c9cb9ba625203d8"><td class="memItemLeft" align="right" valign="top"><a id="ae2e6801ad851932d7c9cb9ba625203d8"></a>
T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int idx)</td></tr>
<tr class="separator:ae2e6801ad851932d7c9cb9ba625203d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad08865cd47ca7f6afa1eb39c958338f8"><td class="memItemLeft" align="right" valign="top"><a id="ad08865cd47ca7f6afa1eb39c958338f8"></a>
<a class="el" href="classlibemb_1_1_array.html">Array</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classlibemb_1_1_array.html">Array</a> &amp;array)</td></tr>
<tr class="separator:ad08865cd47ca7f6afa1eb39c958338f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada997ad145ec831fada13f7767b686ca"><td class="memItemLeft" align="right" valign="top"><a id="ada997ad145ec831fada13f7767b686ca"></a>
<a class="el" href="classlibemb_1_1_array.html">Array</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>append</b> (T item)</td></tr>
<tr class="separator:ada997ad145ec831fada13f7767b686ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a826c73deb47b563fce5fd5d89a01e67d"><td class="memItemLeft" align="right" valign="top"><a id="a826c73deb47b563fce5fd5d89a01e67d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>m_type</b></td></tr>
<tr class="separator:a826c73deb47b563fce5fd5d89a01e67d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f40d7b8b433aa0f16adec247311098a"><td class="memItemLeft" align="right" valign="top"><a id="a5f40d7b8b433aa0f16adec247311098a"></a>
std::vector&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_array</b></td></tr>
<tr class="separator:a5f40d7b8b433aa0f16adec247311098a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class libemb::Array&lt; T &gt;</h3>

<p>数组基类 </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td></td></tr>
  </table>
  </dd>
</dl>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="_base_type_8h_source.html">BaseType.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
